library ieee;
use ieee.std_logic_1164.all;

package control_unit_pkg is
    constant FFT_OPCODE : std_logic_vector(3 downto 0) := X"F";
    constant ADD_OPCODE : std_logic_vector(3 downto 0) := X"0";
    constant SUB_OPCODE : std_logic_vector(3 downto 0) := X"1";
    constant LV_OPCODE  : std_logic_vector(3 downto 0) := X"D";
    constant SV_OPCODE  : std_logic_vector(3 downto 0) := X"C";

    constant FFT_STAGE0 : std_logic_vector(2 downto 0) := "000";
    constant FFT_STAGE1 : std_logic_vector(2 downto 0) := "001";
    constant FFT_STAGE2 : std_logic_vector(2 downto 0) := "010";
    constant FFT_STAGE3 : std_logic_vector(2 downto 0) := "011";
    constant FFT_IDLE   : std_logic_vector(2 downto 0) := "111";

    constant HAZARD_STATE0 : std_logic := '0';
    constant HAZARD_STATE1 : std_logic := '1';
end;

